//
//  BaseRequest.h
//  Dermvpure
//
//  Created by <北京>杨硕 on 4/6/16.
//  Copyright © 2016 Dermvpure. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, ZTHttpMethod) {
  ZTHttpMethodGet,
  ZTHttpMethodPost,
  ZTHttpMethodPut,
  ZTHttpMethodDelete
};

@interface BaseRequest : NSObject

+ (NSString *)urlWithApi:(NSString *)api query:(NSDictionary *)query;

- (NSString *)url;
- (NSDictionary *)params;
- (ZTHttpMethod)method;
//+ (NSString *)urlWithmanual:(NSString *)url;
@end
